package peerToPeerFacebook.proj;

import java.io.Serializable;

/** Interface that is used as callback for invoke method. See description of invoke method in the RPCClient to further
 * understand how this interface should be used.
 */
public interface IResultCallback
{
	/** Calback method that will be executed after method invocation finishes.
	 * 
	 * @param status Status of the invocation.
	 * @param result Result object. Valid iff status == Success. 
	 */
	void resultCallback(Status status, Serializable result);
}